﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Person/PersonMasterPage.master" AutoEventWireup="true" CodeFile="NewSubmission.aspx.cs" Inherits="Person_NewSubmission" %>

<asp:Content ID="Content1" ContentPlaceHolderID="UserContent" Runat="Server">
    <table align="center" 
        style="width: 90%; border-style: solid; border-width: 1px">
        <tr>
            <td colspan="2" align="center" style="font-size: 20px; font-weight: bold">
              New Submission  
            </td>            
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label6" runat="server" >Session:</asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DropDownList2" runat="server">                    
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label2" runat="server" AssociatedControlID="Title1">Title:</asp:Label>
            </td>
            <td>
                <asp:TextBox ID="Title1" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="Title1" ErrorMessage="Title is required”。" ToolTip="Title is required”。" 
                    ValidationGroup="CreateUserWizard1"  ForeColor="Red">*Title is required</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label3" runat="server" AssociatedControlID="Author">Author:(Use ';' space)</asp:Label>
            </td>
            <td>
                <asp:TextBox ID="Author" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="Author" ErrorMessage="Author is required”。" ToolTip="Author is required”。" 
                    ValidationGroup="CreateUserWizard1"  ForeColor="Red">*Author is required</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right" valign="top">
                <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email">email:</asp:Label>
            </td>
            <td>
                <asp:TextBox ID="Email" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="EmailRequired" runat="server" 
                    ControlToValidate="Email" ErrorMessage="email is required”。" ToolTip="email is required”。" 
                    ValidationGroup="CreateUserWizard1" ForeColor="Red">*email is required</asp:RequiredFieldValidator>
                <br />
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="Email" 
                    ErrorMessage=" Email Address does not appear to be valid." 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    ValidationGroup="CreateUserWizard1" ForeColor="Red">* Email Address does not appear to be valid.</asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label1" runat="server" AssociatedControlID="Author">Keywords:</asp:Label>
            </td>
            <td>
                <asp:TextBox ID="Keywords" runat="server" Height="57px" TextMode="MultiLine" 
                    Width="434px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="Keywords" ErrorMessage="Keywords is required”。" ToolTip="Keywords is required”。" 
                    ValidationGroup="CreateUserWizard1"  ForeColor="Red">*Keywords is required</asp:RequiredFieldValidator>
            </td>
        </tr>        
        <tr>
            <td align="right">
                <asp:Label ID="Label7" runat="server" AssociatedControlID="Abstract">Abstract:</asp:Label>
            </td>
            <td>
                <asp:TextBox ID="Abstract" runat="server" Height="425px" TextMode="MultiLine" 
                    Width="469px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="Abstract" ErrorMessage="Abstract is required”。" ToolTip="Abstract is required”。" 
                    ValidationGroup="CreateUserWizard1"  ForeColor="Red">*Abstract is required</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2" style="color:Red;">
                <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
            </td>
        </tr>
        <tr align="right" >
            <td></td>
            <td align="left">
                <br/>
                <asp:Button ID="StepNextButton" runat="server" 
                    Text="Enter" ValidationGroup="CreateUserWizard1" Width="200px" onclick="StepNextButton_Click" 
                    />
                <asp:HiddenField ID="hfID" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>

